﻿@using ZBJF.Warranty.Common.Enums.InfoCollect
@using EnumHelper = ZBJF.Warranty.Common.Common.EnumHelper
@{
    byte bendTheRulesWith;
    byte.TryParse(PageData["BendTheRulesWith"] == null ? "" : PageData["BendTheRulesWith"].ToString(), out bendTheRulesWith);
}
<h4>通融安排</h4>
<form id="bendTheRulesForm" enctype="multipart/form-data" method="post">
    <input type="hidden" name="insuranceWarrantyRecordID" value="@Model.ID" />
    <div id="TheRulesMain">
        <label>通融类型</label>
        <select id="BendTheRulesWith" name="BendTheRulesWith">
            <option value="@bendTheRulesWith">@(EnumHelper.Instance.GetDescription(typeof(BendTheRulesWithType), bendTheRulesWith))</option>
        </select>
        <input type="text" placeholder="填写通融详情" id="Remark" name="Remark" />
        <label>通融理赔员</label>
        @Html.TextBox("InsuranceCompanyBendTheRulesLossAdjusterName","", new { validate = "{CanNotContainsSpecialChar:true}" })
        <span class="showFileName"></span>
        <a href="javascript:;" class="file margin-l-10">
            <input type="file" id="UploadFile" name="UploadFile" accept="image/*" multiple="multiple" />选择图片
        </a>
        <input type="button" class="btn btn-primary Edit-R margin-l-10" id="uploadBtn" value="上传" />
    </div>
</form>